package kr.co.insoft.core.model.orchestration;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import kr.co.insoft.auth.model.security.User;
import kr.co.insoft.core.model.configration.sev.SEVEntityModel;

@XmlRootElement
public class ServiceEntityModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4645043784670152345L;
	ProjectEntityModel project;
	String projectid;
	String serviceid;
	String serviceName;
	String serviceDesc;
	Long userid;
	String companyid;
	String updatedDate;
	List<SEVEntityModel> variables;
	String variableTemp;

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public String getServiceid() {
		return serviceid;
	}

	public void setServiceid(String serviceid) {
		this.serviceid = serviceid;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getServiceDesc() {
		return serviceDesc;
	}

	public void setServiceDesc(String serviceDesc) {
		this.serviceDesc = serviceDesc;
	}

	public List<SEVEntityModel> getVariables() {
		return variables;
	}

	public void setVariables(List<SEVEntityModel> variables) {
		this.variables = variables;
	}

	public ProjectEntityModel getProject() {
		return project;
	}

	public void setProject(ProjectEntityModel project) {
		this.project = project;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public void setAuth(User user) {
		this.userid = user.getId();
		this.companyid = user.getCompanyId();
	}

	public String getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(String updatedDate) {
		this.updatedDate = updatedDate;
	}

	public String getVariableTemp() {
		return variableTemp;
	}

	public void setVariableTemp(String variableTemp) {
		this.variableTemp = variableTemp;
	}
}
